package com.zc.order.client;

import com.zc.utils.vo.Member;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-ucenter")
public interface MemberClient {

	@GetMapping("/ucenter/member/getMemberInfo/{id}")
	public Member getMemberInfo(@PathVariable("id") String id);
}
